package com.robertbak.geolocation
{
	import com.robertbak.geolocation.interfaces.IPositionError;

	public class GeoPositionError implements IPositionError
	{
		public function GeoPositionError(O:Object)
		{
			if (O!=null)
			{
				_code = O.code;
				_message = O.message;
			}
		}

		private var _code:uint;
		public function get code():uint
		{
			return _code;
		}
		
		private var _message:String;
		public function get message():String
		{
			return _message;
		}
		
	}
}